import numpy as np
import matplotlib
import matplotlib.pyplot as plt

x = 10*np.random.randn(5)
y = 10*np.random.randn(5)
#x = [ 1, 2, 3 ]
#y = [ 4, 5, 6 ]
print 'x', x
print 'y', y

matplotlib.rcParams['axes.unicode_minus'] = False
fig = plt.figure()
ax = fig.add_subplot(111)
#ax.plot(10*np.random.randn(100), 10*np.random.randn(100), 'o')
ax.plot(x, y, 'o')
ax.set_title('Using hypen instead of unicode minus')
plt.show()

